package com.woniu.outlet.po;

import java.util.ArrayList;
import java.util.List;

public class RepairAcceptanceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RepairAcceptanceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdIsNull() {
            addCriterion("repair_application_id is null");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdIsNotNull() {
            addCriterion("repair_application_id is not null");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdEqualTo(String value) {
            addCriterion("repair_application_id =", value, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdNotEqualTo(String value) {
            addCriterion("repair_application_id <>", value, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdGreaterThan(String value) {
            addCriterion("repair_application_id >", value, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdGreaterThanOrEqualTo(String value) {
            addCriterion("repair_application_id >=", value, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdLessThan(String value) {
            addCriterion("repair_application_id <", value, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdLessThanOrEqualTo(String value) {
            addCriterion("repair_application_id <=", value, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdLike(String value) {
            addCriterion("repair_application_id like", value, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdNotLike(String value) {
            addCriterion("repair_application_id not like", value, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdIn(List<String> values) {
            addCriterion("repair_application_id in", values, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdNotIn(List<String> values) {
            addCriterion("repair_application_id not in", values, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdBetween(String value1, String value2) {
            addCriterion("repair_application_id between", value1, value2, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairApplicationIdNotBetween(String value1, String value2) {
            addCriterion("repair_application_id not between", value1, value2, "repairApplicationId");
            return (Criteria) this;
        }

        public Criteria andRepairNumIsNull() {
            addCriterion("repair_num is null");
            return (Criteria) this;
        }

        public Criteria andRepairNumIsNotNull() {
            addCriterion("repair_num is not null");
            return (Criteria) this;
        }

        public Criteria andRepairNumEqualTo(Integer value) {
            addCriterion("repair_num =", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumNotEqualTo(Integer value) {
            addCriterion("repair_num <>", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumGreaterThan(Integer value) {
            addCriterion("repair_num >", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("repair_num >=", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumLessThan(Integer value) {
            addCriterion("repair_num <", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumLessThanOrEqualTo(Integer value) {
            addCriterion("repair_num <=", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumIn(List<Integer> values) {
            addCriterion("repair_num in", values, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumNotIn(List<Integer> values) {
            addCriterion("repair_num not in", values, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumBetween(Integer value1, Integer value2) {
            addCriterion("repair_num between", value1, value2, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumNotBetween(Integer value1, Integer value2) {
            addCriterion("repair_num not between", value1, value2, "repairNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumIsNull() {
            addCriterion("good_num is null");
            return (Criteria) this;
        }

        public Criteria andGoodNumIsNotNull() {
            addCriterion("good_num is not null");
            return (Criteria) this;
        }

        public Criteria andGoodNumEqualTo(Integer value) {
            addCriterion("good_num =", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumNotEqualTo(Integer value) {
            addCriterion("good_num <>", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumGreaterThan(Integer value) {
            addCriterion("good_num >", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("good_num >=", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumLessThan(Integer value) {
            addCriterion("good_num <", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumLessThanOrEqualTo(Integer value) {
            addCriterion("good_num <=", value, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumIn(List<Integer> values) {
            addCriterion("good_num in", values, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumNotIn(List<Integer> values) {
            addCriterion("good_num not in", values, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumBetween(Integer value1, Integer value2) {
            addCriterion("good_num between", value1, value2, "goodNum");
            return (Criteria) this;
        }

        public Criteria andGoodNumNotBetween(Integer value1, Integer value2) {
            addCriterion("good_num not between", value1, value2, "goodNum");
            return (Criteria) this;
        }

        public Criteria andCostNumIsNull() {
            addCriterion("cost_num is null");
            return (Criteria) this;
        }

        public Criteria andCostNumIsNotNull() {
            addCriterion("cost_num is not null");
            return (Criteria) this;
        }

        public Criteria andCostNumEqualTo(Integer value) {
            addCriterion("cost_num =", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumNotEqualTo(Integer value) {
            addCriterion("cost_num <>", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumGreaterThan(Integer value) {
            addCriterion("cost_num >", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("cost_num >=", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumLessThan(Integer value) {
            addCriterion("cost_num <", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumLessThanOrEqualTo(Integer value) {
            addCriterion("cost_num <=", value, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumIn(List<Integer> values) {
            addCriterion("cost_num in", values, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumNotIn(List<Integer> values) {
            addCriterion("cost_num not in", values, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumBetween(Integer value1, Integer value2) {
            addCriterion("cost_num between", value1, value2, "costNum");
            return (Criteria) this;
        }

        public Criteria andCostNumNotBetween(Integer value1, Integer value2) {
            addCriterion("cost_num not between", value1, value2, "costNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumIsNull() {
            addCriterion("waste_num is null");
            return (Criteria) this;
        }

        public Criteria andWasteNumIsNotNull() {
            addCriterion("waste_num is not null");
            return (Criteria) this;
        }

        public Criteria andWasteNumEqualTo(Integer value) {
            addCriterion("waste_num =", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumNotEqualTo(Integer value) {
            addCriterion("waste_num <>", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumGreaterThan(Integer value) {
            addCriterion("waste_num >", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("waste_num >=", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumLessThan(Integer value) {
            addCriterion("waste_num <", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumLessThanOrEqualTo(Integer value) {
            addCriterion("waste_num <=", value, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumIn(List<Integer> values) {
            addCriterion("waste_num in", values, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumNotIn(List<Integer> values) {
            addCriterion("waste_num not in", values, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumBetween(Integer value1, Integer value2) {
            addCriterion("waste_num between", value1, value2, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andWasteNumNotBetween(Integer value1, Integer value2) {
            addCriterion("waste_num not between", value1, value2, "wasteNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumIsNull() {
            addCriterion("planned_num is null");
            return (Criteria) this;
        }

        public Criteria andPlannedNumIsNotNull() {
            addCriterion("planned_num is not null");
            return (Criteria) this;
        }

        public Criteria andPlannedNumEqualTo(Integer value) {
            addCriterion("planned_num =", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumNotEqualTo(Integer value) {
            addCriterion("planned_num <>", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumGreaterThan(Integer value) {
            addCriterion("planned_num >", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("planned_num >=", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumLessThan(Integer value) {
            addCriterion("planned_num <", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumLessThanOrEqualTo(Integer value) {
            addCriterion("planned_num <=", value, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumIn(List<Integer> values) {
            addCriterion("planned_num in", values, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumNotIn(List<Integer> values) {
            addCriterion("planned_num not in", values, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumBetween(Integer value1, Integer value2) {
            addCriterion("planned_num between", value1, value2, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andPlannedNumNotBetween(Integer value1, Integer value2) {
            addCriterion("planned_num not between", value1, value2, "plannedNum");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andSpare1IsNull() {
            addCriterion("spare1 is null");
            return (Criteria) this;
        }

        public Criteria andSpare1IsNotNull() {
            addCriterion("spare1 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare1EqualTo(String value) {
            addCriterion("spare1 =", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotEqualTo(String value) {
            addCriterion("spare1 <>", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1GreaterThan(String value) {
            addCriterion("spare1 >", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1GreaterThanOrEqualTo(String value) {
            addCriterion("spare1 >=", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1LessThan(String value) {
            addCriterion("spare1 <", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1LessThanOrEqualTo(String value) {
            addCriterion("spare1 <=", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1Like(String value) {
            addCriterion("spare1 like", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotLike(String value) {
            addCriterion("spare1 not like", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1In(List<String> values) {
            addCriterion("spare1 in", values, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotIn(List<String> values) {
            addCriterion("spare1 not in", values, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1Between(String value1, String value2) {
            addCriterion("spare1 between", value1, value2, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotBetween(String value1, String value2) {
            addCriterion("spare1 not between", value1, value2, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare2IsNull() {
            addCriterion("spare2 is null");
            return (Criteria) this;
        }

        public Criteria andSpare2IsNotNull() {
            addCriterion("spare2 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare2EqualTo(String value) {
            addCriterion("spare2 =", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotEqualTo(String value) {
            addCriterion("spare2 <>", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2GreaterThan(String value) {
            addCriterion("spare2 >", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2GreaterThanOrEqualTo(String value) {
            addCriterion("spare2 >=", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2LessThan(String value) {
            addCriterion("spare2 <", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2LessThanOrEqualTo(String value) {
            addCriterion("spare2 <=", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2Like(String value) {
            addCriterion("spare2 like", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotLike(String value) {
            addCriterion("spare2 not like", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2In(List<String> values) {
            addCriterion("spare2 in", values, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotIn(List<String> values) {
            addCriterion("spare2 not in", values, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2Between(String value1, String value2) {
            addCriterion("spare2 between", value1, value2, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotBetween(String value1, String value2) {
            addCriterion("spare2 not between", value1, value2, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare3IsNull() {
            addCriterion("spare3 is null");
            return (Criteria) this;
        }

        public Criteria andSpare3IsNotNull() {
            addCriterion("spare3 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare3EqualTo(String value) {
            addCriterion("spare3 =", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotEqualTo(String value) {
            addCriterion("spare3 <>", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3GreaterThan(String value) {
            addCriterion("spare3 >", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3GreaterThanOrEqualTo(String value) {
            addCriterion("spare3 >=", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3LessThan(String value) {
            addCriterion("spare3 <", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3LessThanOrEqualTo(String value) {
            addCriterion("spare3 <=", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3Like(String value) {
            addCriterion("spare3 like", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotLike(String value) {
            addCriterion("spare3 not like", value, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3In(List<String> values) {
            addCriterion("spare3 in", values, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotIn(List<String> values) {
            addCriterion("spare3 not in", values, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3Between(String value1, String value2) {
            addCriterion("spare3 between", value1, value2, "spare3");
            return (Criteria) this;
        }

        public Criteria andSpare3NotBetween(String value1, String value2) {
            addCriterion("spare3 not between", value1, value2, "spare3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}